<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    xmlns:slc="clr-namespace:ibba.src.sl.componentes;assembly=ibba.src.sl.componentes">

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="ColorsBrush.xaml"/>
    </ResourceDictionary.MergedDictionaries>
    
    <Style TargetType="navigation:Page">
        <Setter Property="FontSize" Value="10.800" />
    </Style>
    <Style TargetType="controls:ChildWindow">
        <Setter Property="FontSize" Value="10.800" />
    </Style>
    <Style TargetType="TextBox">
        <Setter Property="Height" Value="22"/>
    </Style>
    <Style TargetType="ComboBox">
        <Setter Property="Height" Value="22"/>
        <Setter Property="Background" Value="White"/>
    </Style>
    <Style TargetType="sdk:AutoCompleteBox">
        <Setter Property="Height" Value="22"/>
    </Style>
    <Style TargetType="sdk:DatePicker">
        <Setter Property="Height" Value="22"/>
    </Style>
    
    <!-- Begin ToolTip -->
    <Style TargetType="ToolTip">
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>

        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ToolTip">
                    <Border CornerRadius="2" BorderThickness="1" BorderBrush="Gray">
                        <Border.Effect>
                            <DropShadowEffect BlurRadius="10" Color="#FF90908A"/>
                        </Border.Effect>

                        <Border CornerRadius="2" BorderThickness="0.5" BorderBrush="White">
                            <Border.Background>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="White" Offset="0.522"/>
                                    <GradientStop Color="WhiteSmoke" Offset="0.871"/>
                                </LinearGradientBrush>
                            </Border.Background>

                            <ContentPresenter Content="{TemplateBinding Content}" Margin="10,0,10,0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />

                        </Border>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="DataGridCellStyle" TargetType="sdk:DataGridCell">
        <Setter Property="Background" Value="{StaticResource GrayGradientBrush}"/>
    </Style>

    <Style TargetType="slc:ControlMenuBar">
        <Setter Property="Background" Value="{StaticResource BlueStrong}"/>
    </Style>
</ResourceDictionary>
